<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Game Hub - 游戏娱乐中心</title>
    <link rel="stylesheet" href="assets/css/main.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body>
    <header class="header">
        <nav class="nav-container">
            <div class="nav-left">
                <div class="logo">
                    <span class="logo-text">Game Hub</span>
                </div>
                <div class="nav-links">
                    <a href="#" class="active">首页</a>
                    <a href="#">排行榜</a>
                    <a href="#">新品推荐</a>
                    <a href="#">收藏夹</a>
                </div>
            </div>
            <div class="nav-right">
                <div class="search-container">
                    <input type="text" placeholder="搜索游戏...">
                    <button class="search-btn">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none">
                            <path d="M21 21L16.5 16.5M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
                        </svg>
                    </button>
                </div>
                <button class="user-btn">
                    <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
                        <path d="M12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8C8 10.2091 9.79086 12 12 12Z" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
                        <path d="M20 21C20 18.2386 16.4183 16 12 16C7.58172 16 4 18.2386 4 21" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
                    </svg>
                </button>
            </div>
        </nav>
    </header>

    <main class="main">
        <section class="hero-section">
            <div class="hero-content">
                <h1>发现精彩游戏</h1>
                <p>探索数千款精选游戏，开启您的游戏之旅</p>
                <div class="hero-stats">
                    <div class="stat-item">
                        <span class="stat-number">1000+</span>
                        <span class="stat-label">精选游戏</span>
                    </div>
                    <div class="stat-item">
                        <span class="stat-number">50万+</span>
                        <span class="stat-label">活跃玩家</span>
                    </div>
                    <div class="stat-item">
                        <span class="stat-number">98%</span>
                        <span class="stat-label">好评率</span>
                    </div>
                </div>
            </div>
        </section>

        <section class="category-section">
            <div class="section-header">
                <h2>游戏分类</h2>
                <a href="#" class="view-all">查看全部</a>
            </div>
            <div class="category-grid">
                <a href="#" class="category-card" style="background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://via.placeholder.com/300x200')">
                    <span class="category-name">动作冒险</span>
                    <span class="game-count">268款游戏</span>
                </a>
                <a href="#" class="category-card" style="background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://via.placeholder.com/300x200')">
                    <span class="category-name">策略</span>
                    <span class="game-count">186款游戏</span>
                </a>
                <a href="#" class="category-card" style="background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://via.placeholder.com/300x200')">
                    <span class="category-name">角色扮演</span>
                    <span class="game-count">324款游戏</span>
                </a>
                <a href="#" class="category-card" style="background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://via.placeholder.com/300x200')">
                    <span class="category-name">休闲</span>
                    <span class="game-count">452款游戏</span>
                </a>
            </div>
        </section>

        <section class="trending-section">
            <div class="section-header">
                <h2>热门推荐</h2>
                <div class="section-tabs">
                    <button class="tab active">本周最热</button>
                    <button class="tab">新上线</button>
                    <button class="tab">即将推出</button>
                </div>
            </div>
            <div class="games-grid">
                <div class="game-card">
                    <div class="game-image">
                        <img src="https://via.placeholder.com/300x400" alt="游戏封面">
                        <div class="game-overlay">
                            <button class="play-now">立即开玩</button>
                        </div>
                        <span class="game-badge">热门</span>
                    </div>
                    <div class="game-info">
                        <h3>魔法世界大冒险</h3>
                        <div class="game-meta">
                            <div class="game-tags">
                                <span>角色扮演</span>
                                <span>冒险</span>
                            </div>
                            <div class="game-rating">
                                <span class="star">★</span>
                                <span class="rating">4.9</span>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="game-card">
                    <div class="game-image">
                        <img src="https://via.placeholder.com/300x400" alt="游戏封面">
                        <div class="game-overlay">
                            <button class="play-now">立即开玩</button>
                        </div>
                        <span class="game-badge">新品</span>
                    </div>
                    <div class="game-info">
                        <h3>星际探险</h3>
                        <div class="game-meta">
                            <div class="game-tags">
                                <span>科幻</span>
                                <span>策略</span>
                            </div>
                            <div class="game-rating">
                                <span class="star">★</span>
                                <span class="rating">4.8</span>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="game-card">
                    <div class="game-image">
                        <img src="https://via.placeholder.com/300x400" alt="游戏封面">
                        <div class="game-overlay">
                            <button class="play-now">立即开玩</button>
                        </div>
                    </div>
                    <div class="game-info">
                        <h3>方块消除大师</h3>
                        <div class="game-meta">
                            <div class="game-tags">
                                <span>休闲</span>
                                <span>益智</span>
                            </div>
                            <div class="game-rating">
                                <span class="star">★</span>
                                <span class="rating">4.7</span>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="game-card">
                    <div class="game-image">
                        <img src="https://via.placeholder.com/300x400" alt="游戏封面">
                        <div class="game-overlay">
                            <button class="play-now">立即开玩</button>
                        </div>
                    </div>
                    <div class="game-info">
                        <h3>城市建造者</h3>
                        <div class="game-meta">
                            <div class="game-tags">
                                <span>模拟</span>
                                <span>策略</span>
                            </div>
                            <div class="game-rating">
                                <span class="star">★</span>
                                <span class="rating">4.6</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <footer class="footer">
        <div class="footer-content">
            <div class="footer-top">
                <div class="footer-brand">
                    <h3>Game Hub</h3>
                    <p>发现快乐，享受游戏</p>
                </div>
                <div class="footer-links">
                    <div class="footer-column">
                        <h4>关于我们</h4>
                        <a href="#">公司介绍</a>
                        <a href="#">加入我们</a>
                        <a href="#">联系方式</a>
                    </div>
                    <div class="footer-column">
                        <h4>帮助支持</h4>
                        <a href="#">常见问题</a>
                        <a href="#">用户指南</a>
                        <a href="#">意见反馈</a>
                    </div>
                    <div class="footer-column">
                        <h4>关注我们</h4>
                        <div class="social-links">
                            <a href="#" class="social-link">微信</a>
                            <a href="#" class="social-link">微博</a>
                            <a href="#" class="social-link">抖音</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="footer-bottom">
                <p>&copy; 2024 Game Hub. All rights reserved.</p>
                <div class="footer-legal">
                    <a href="#">隐私政策</a>
                    <a href="#">用户协议</a>
                    <a href="#">免责声明</a>
                </div>
            </div>
        </div>
    </footer>
</body>
</html>
